<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<html>
<head>

<title>FINIAC | LOGIN </title>
<script>
	function viewDetails() {
		var url = "about.html";
		window.open(url,'aboutus','left=20,top=20,width=800,height=500,toolbar=1,resizable=0,scrollbars=1')
	}
function viewContactUsDetails() {
		var url = "contact.html";
		window.open(url,'contactus','left=20,top=20,width=325,height=175,toolbar=0,resizable=0,scrollbars=0')
	}	
</script>
<style type="text/css">

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<style type="text/css">
.error{
  border: 1px solid;
  margin: 10px 0px;
  padding:15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
  color: #D8000C;
  background-color: #FFBABA;
}
</style>
<link href="../css/styles.css" rel="stylesheet" type="text/css">
</head>

<body>
<form action="login.htm" method="POST">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td height="70" colspan="3" valign="top" background="../images/bg_img.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="65%" height="70"><img src="../images/header.gif" width="572" height="85"></td>
          <td valign="bottom">&nbsp;</td>
        </tr>
      </table></td>
    </tr>
    
    <tr>
      <td width="98%" background="../images/Orang_CurveBG.gif"><div align="left">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
          
            <td width="15%" class="heading_white"></td>
            <td width="6%" class="heading_white"><a href="login.html" target="_parent" class="heading_white"></a></td>
          </tr>
          
        </table>
      </div></td>
    </tr>
    
  </tbody>
</table>
<div align="right"></div><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
                    <td style="width: 176px" >&nbsp;</td>
                    <td valign="top" width="58%"><div align="center">
                        <pre>
                        
                        
                        
                        </pre>                     
                        <table border="0" cellpadding="3" cellspacing="4" width="94%">
                          <tbody>
                            <tr> 
                              <td valign="top" style="width: 484px"><table align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
                                  <tbody>
                                    <tr> 
                                      <td></td>
                                    </tr>
                                    <tr> 
                                      <td><table align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
                                          <tbody>
                                            <tr> 
                                            <%!String error; %>
                                            <%if(request.getParameter("attempt")!=null) 
                                            	 error="<center><div  class=\"error\">User Login Failed</div></center>";
                                            else
                                            	error="";
                                            %>
                                            <%=error %>
                                              <td width="57%" height="198" valign="top"><table width="36%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                  <tr> 
                                                    <td width="11"><img src="../images/Tright_03_01.gif" width="9" height="29"></td>
                                                    <td width="327" background="../images/Tcenter.gif" class="heading_white"><div align="left">Login</div></td>
                                                    <td width="93" ><img src="../images/Tright_1_01.gif" width="9" height="29"></td>
                                                  </tr>
                                                  <td   background="../images/Tright_03_03.gif" ></td>
                                                  <td valign="top"><table width="323" border="0" cellpadding="0" cellspacing="0">
                                                      <tr> 
                                                        <td height="10" colspan="3"></td>
                                                      </tr>
                                                      <tr > 
                                                        <td width="38" height="47"><div align="center"><img src="../images/userIcon.gif" width="21" height="26"></div></td>
                                                        <td width="94" ><div align="right" class="heading"> 
                                                            <div align="left">User 
                                                              name:</div>
                                                          </div>                                                       
                                                          </td>
                                                        <td width="191"><input name="userName" type="text" class="textboxCopy" id="userName" value="" size="20"></td>
                                                      </tr>
                                                      <tr bgcolor="#FFFFFF"> 
                                                        <td height="36"><div align="center"><strong><img src="../images/password.gif" width="18" height="20"></strong></div></td>
                                                        <td class="body"><div align="right" class="heading"> 
                                                            <div align="left">Password:</div>
                                                          </div></td>
                                                        <td><input name="password" type="password" class="textboxCopy" id="password" value="" size="20"></td>
                                                      </tr>
                                                      <tr > 
                                                        <td height="46"><div align="center"></div></td>
                                                        <td class="body">&nbsp;</td>
                                                        <td><input type="submit" name="submit" value="Sign in"/>
                                                         </td>
                                                      </tr>
                                                      <tr > 
                                                        <td height="10"></td>
                                                        <td height="10" class="body"></td>
                                                        <td height="10" bgcolor="#FFFFFF"></td>
                                                      </tr>
                                                    </table></td>
                                                  <td width="93" valign="top" background="../images/Tright_3_3.gif" ></td>
                                                  </tr>
                                                  <tr> 
                                                    <td height="1" colspan="3" background="../images/Tcenter.gif"></td>
                                                  </tr>
                                                </table></td>
                                            </tr>
                                          </tbody>
                                        </table></td>
                                    </tr>
                                   
                                  </tbody>
                                </table></td>
                            </tr>
                          </tbody>
                        </table>
                      </div></td>
                    <td width="1%" valign="top" class="verLine" >&nbsp;</td>
                    <td width="22%" height="421" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tbody>
                          <tr> 
                            <td height="209" valign="top">&nbsp;</td>
     <td width="9" background="images/rightShadow.gif">&nbsp;</td>
  </tr>
  <tr>
    <td></td>
    <td height="7"  valign="baseline" background="../images/shadow_bottom.gif"></td>
    <td></td>
  </tr>
</table>

  
    <p>&nbsp;</p>

</form>
</body>
</html>
